<template>
  <div class="dot-title animate__animated animate__fadeIn">
    <div :style="{ background: background }" class="dot"></div>
    <p class="title">{{ title }}</p>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  props: {
    background: {
      type: String,
      default: '#00b0ff'
    },
    title: {
      type: String
    }
  },
  setup () {
    return {

    }
  }
})
</script>

<style lang="scss">
.dot-title {
  display: flex;
  align-items: center;
  gap: 0 .3rem;
  .dot {
    width: .44rem;
    height: .44rem;
    border-radius: 50%;
  }
  .title {
    font-family: Arial;
    font-size: .52rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: .62rem;
    letter-spacing: 0rem;
    color: #ffffff;
  }
}
</style>
